//
//  AchievementCell.m
//  NewPro
//
//  Created by 何荧红 on 2018/10/3.
//  Copyright © 2018 何荧红. All rights reserved.
//

#import "AchievementCell.h"

@interface AchievementCell ()
@property (weak, nonatomic) IBOutlet UILabel *earnings;
@property (weak, nonatomic) IBOutlet UILabel *allmoney;
@property (weak, nonatomic) IBOutlet UILabel *addMYou;
@property (weak, nonatomic) IBOutlet UILabel *addMerchants;



@end

@implementation AchievementCell
- (void)setModel:(AchievementModel *)model{
    _model = model;
    if (_model) {
        self.allmoney.text = _model.allmoney;
        self.earnings.text = _model.mymoney;
        self.addMYou.text = _model.merchant;
        self.addMerchants.text = _model.ally;
    }
}
- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
